home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Digi-view 4.0 PAL.adf / DV-Link / Auto-Digitize < prev    next >
AmigaDOS Script File  |  2018-01-18  |  1KB  |  65 lines

  1. .key LeaveThisHere
  2.  
  3. DoWeHaveMem
  4. if warn
  5. echo "                Sorry - This demo requires 1 megabyte of memory"
  6. wait 2
  7. skip NoMemory
  8. endif
  9.  
  10. if not exists RAM:Echo
  11. copy DVLink RAM:
  12. copy C:Wait RAM:
  13. copy C:Echo RAM:
  14. endif
  15.  
  16. RAM:echo " A sample script to demo unattended digitizing."
  17. RAM:echo " Requires 1 meg of memory and a Digi-Droid."
  18. RAM:echo ""
  19.  
  20. cd /      ; MUST BE IN DIGI-VIEW DIRECTORY
  21. RAM:DVLink mham   ;Check for Digi-View
  22. if warn
  23. RAM:echo " Now Loading Digi-View ..."
  24. run >nil: DV 320 256 c
  25. RAM:wait 9             ; Floppy delay, change for hard drive
  26. lab loop
  27. RAM:DVLink mham
  28. if warn
  29. RAM:wait 2
  30. skip loop back      ;wait for Digi-View to load
  31. endif
  32. endif
  33.  
  34. RAM:DVLink cont 4
  35. RAM:DVLink nois 3
  36. RAM:DVLink zero 0
  37. RAM:echo " Digitizing ..."
  38. RAM:echo ""
  39.  
  40. RAM:DVLink digr         ;same as 'auto' but does not check for droid
  41. RAM:DVLink digg
  42. RAM:DVLink digb
  43. RAM:DVLink disp
  44.  
  45. RAM:Wait 3
  46. RAM:echo " Done!"
  47. RAM:DVLink scbk
  48. RAM:DVLink quit
  49.  
  50. lab NoMemory
  51.  
  52. ;**** This would save the file ****
  53. ;RAM:DVLink scbk
  54. ;RAM:echo " Saving Auto.Image to RAM"
  55. ;RAM:DVLink siff RAM:Auto.Image
  56. ;RAM:echo ""
  57. ;RAM:echo " When viewing, press left mouse button to exit"
  58. ;RAM:DVLink quit
  59. ;Dyna-Show RAM:Auto.Image
  60. ;if warn
  61. ;RAM:echo " Picture not found"
  62. ;else
  63. ;RAM:echo " Be Seeing You!"
  64. ;endif
  65.